package com.innovations.inn.domain;

import com.innovations.common.annotation.Excel;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 商业需求附件对象 business_demand_files
 *
 * @author dp
 * @date 2024-08-09
 */
@Data
public class BusinessDemandFiles {
    private static final long serialVersionUID = 1L;

    /**
     * 附件标识
     */
    private Long businessDemandFilesId;

    /**
     * 商业需求标识
     */
    @Excel(name = "商业需求标识")
    private Long businessDemandId;

    /**
     * 附件类型;1：图片；2：视频；3：文档；4：音频；
     */
    @Excel(name = "附件类型;1：图片；2：视频；3：文档；4：音频；")
    private Long filesType;

    /**
     * 是否封面;1：是；0：否；
     */
    @Excel(name = "是否封面;1：是；0：否；")
    private Long isCover;

    /**
     * 附件路径
     */
    @Excel(name = "附件路径")
    private String filesPath;

    /**
     * 创建用户标识
     */
    private Long createBy;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 逻辑删除
     */
    @Excel(name = "逻辑删除")
    private Long isDeleted;


    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("businessDemandFilesId", getBusinessDemandFilesId())
                .append("businessDemandId", getBusinessDemandId())
                .append("filesType", getFilesType())
                .append("isCover", getIsCover())
                .append("filesPath", getFilesPath())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("isDeleted", getIsDeleted())
                .toString();
    }
}
